import http from "./http.js";


//获取ticket
function getTicket(data) {
  return http("/ticket", { data });
}


function roomList(data) {
  return http("/hotindex", { data, method: 'POST'  });
}

module.exports = {
  getTicket: getTicket,
  roomList: roomList
};